package com.lingnan.feign;

import com.lingnan.entity.po.JobPosition;
import com.lingnan.entity.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "job-service", path = "/job")
public interface JobPositionFeignClient {
    /**
     * 根据id列表获取多个职位信息
     */
    @GetMapping("getPosListByIds")
    Result<List<JobPosition>> getJobPositionByIds(@RequestParam("ids") List<Long> ids);
}
